package ObjectClasses;
import java.util.Date;

/**
 * 
 */

/**
 * @author Rabia
 *
 */
public abstract class Person {

	int personID;
	String title;
	String firstName;
	String lastName;
	Date dateOfBirth;
	String email;
	String telephone;
	String ethnicity;
	Address address;
	
	Person()
	{}
	
	/**
	 * This method generates the integer unique ID for person.
	 * @return
	 */
	 int generatePersonID()
	{ 
		return 1;
	}
	int getPersonID()
	{
		return personID;
	}
	void setPersonID()
	{}
	
	String getTitle()
	{
		return title;
	}
	void setTitle(String Title)
	{
		title = Title;
	}
	
	String getFirstName()
	{
		return firstName;
	}
	void setFirstName(String FirstName)
	{
		firstName = FirstName;
	}
	
	String getLastName()
	{
		return lastName;
	}
	void setLastName(String LastName)
	{
		lastName = LastName;
	}
	
	Date getDOB()
	{
		return dateOfBirth;
	}
	void setDOB(Date DOB)
	{
		dateOfBirth = DOB;
	}
	
	String getEmail()
	{
		return email;
	}
	void setEmail(String Email)
	{
		email = Email;
	}
	String getTelephone()
	{
		return telephone;
	}
	void setTelephone(String Telephone)
	{
		telephone = Telephone;
	}
	
	String getEthnicity()
	{
		return ethnicity;
	}
	void setEthnicity(String Ethnicity)
	{
		ethnicity = Ethnicity;
	}
}
